package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcPatrolGreatLocation;
import com.csun.cmny.provider.model.domain.DmcPatrolPointBind;
import com.csun.cmny.provider.model.dto.patrol.PatrolPageQuery;
import com.csun.cmny.provider.model.dto.patrol.PatrolQueryDto;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2021/7/22 9:12
 * @Description: 巡更棒位置接口
 */
public interface DmcPatrolGreatLocationService extends IService<DmcPatrolGreatLocation> {
    /*
     * 巡更棒的分页查询
     * */
    PageInfo queryDeviceListWithPage(PatrolPageQuery patrolPageQuery);

    /*
     * 绑定巡更棒
     * */
    Integer patrolBind(DmcPatrolGreatLocation dmcPatrolGreatLocation);

    /*
     * 查询未绑定巡更点的巡更棒
     * */
    List<PatrolPageQuery> selectUntiedPatrol(PatrolPageQuery patrolPageQuery);

    /*
     * 查询已绑定巡更点的巡更棒
     * */
    List<PatrolPageQuery> selectBindPatrol(PatrolPageQuery patrolPageQuery);
    /*
     * 查询该巡更棒是否绑定
     * */
    List<DmcPatrolPointBind> selectPatrolPoint(Long id);
    /*
    * 查询用户是否绑定
    * */
    List<DmcPatrolGreatLocation> selectByUserId(Long userId);
    /*
    * 运营平台设备可视化
    * */
    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}
